﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class TipText : MonoBehaviour
{
    public float showuptTime = 2f;

    private void OnEnable()
    {
        StartCoroutine(Showup());
    }

    IEnumerator Showup()
    {
        yield return new WaitForSeconds(showuptTime);
        gameObject.SetActive(false);
    }

}
